
#ifndef _GL_DRAWFUNCTIONS_H_
#define _GL_DRAWFUNCTIONS_H_

#include "typedefs.h"
#include "meshdef/mesh.h"
//~ #include "meshdef/gskeleton.h"
//~ #include "meshdef/skeletonsMatcher.h"

#include "core/tconstraints.h"

/// This file defines drawing functions using the OpenGL API
/// Renders a surface model using vertex buffers (very efficient)
void glDrawModel(Mesh *mesh, int meshrendermode_mask=SMOOTH);
/// Draws the model's faces for selection purposes
void glDrawModelFaces(Mesh *model);
void glDrawModelVertices(Mesh *model);
void glDrawConstraints(const TConstraints<Point3> &c);
/// Draws a 3D cursor
void drawCursor3D(const Point3 &c, Number sf);

#endif
